export default {
    methods: {
        getParams(searchForm, returnForm) {
            if (typeof searchForm != 'object' || typeof returnForm != 'object') {
                return {}
            } else {
                for(let i in searchForm) {
                    if (searchForm[i] === returnForm[i]) {
                        searchForm[i] = returnForm[i]
                    }
                }
                return {...searchForm}
            }
        }
    }
}